package com.ceuer.springboot.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class DemoController {
	// Logger logger=LoggerFactory.getLogger(DemoController.class);
	@RequestMapping("/")
	public String index(){
		Dept dept = new Dept();
		log.debug("测试debug");
		log.info("测试info");
		log.warn("测试warn");
		log.error("测试error");
		return "第一个SpringBoot Maven父子项目333";
	}
}